﻿#pragma once
#include "CPublicFuns.h"

//t_user_info 表
#define CS_USER_CODE			 "hj_user_code"//用户ID
#define CS_USER_PASSWORD		 "hj_password"//用户密码
#define CS_USER_COUNT			 "hj_count"//用户个数
#define CS_FIGHTING_CARDINFO	 "cardinfo"//战斗卡片信息
#define CS_FIGHTING_ACTION	     "action"//战斗卡片信息
#define CS_ATTACK_ACC_ID         "hj_att_acc_id"//攻击方的账户ID
#define CS_RECEIVER_ACC_ID       "hj_rec_acc_id"//被攻击方的账户ID
#define CS_1						"1"//成功
#define CS_0						"0"//失败
//Post信息
// #define CS_HOST_URL				 "http://localhost:8080/SanGuo/"
//#define CS_HOST_URL_LOGIN		 "http://localhost:8080/SanGuo/LoginCheck"

#define CS_HOST_URL				 "http://192.168.0.119:8080/SanGuo/"
#define CS_HOST_URL_LOGIN		 "http://192.168.0.119:8080/SanGuo/LoginCheck"
#define CS_HOST_URL_FIGHTING		 "http://192.168.0.119:8080/SanGuo/Fighting"


#define CS_POST_TYPE_LOGIN		"PostLogin"
#define CS_POST_TYPE_REGISTER	"Register"
#define CS_POST_TYPE_FIGHTING	"Fighting"

#define G_FONT			"Arial"
#define G_FONT_SIZE		50

//主页
#define CS_HJSANGUO			UTEXT("黄金三国")
#define CS_STARTGAME		UTEXT("开始游戏")
#define CS_BACK				UTEXT("返回")
//登录页
#define  CS_ACCOUNT			UTEXT("账号:")
#define  CS_PASSWORD		UTEXT("密码:")
#define  CS_SINGIN			UTEXT("注册")
#define  CS_LOGIN			UTEXT("登录")
#define  CS_PRESS_TO_INPU	UTEXT("点击输入")